<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <title>智能进出口服务平台</title>
    <link rel="shortcut icon" type="image/x-icon" href="/images/logo.ico" />
    <link rel="stylesheet" type="text/css" href="/layui/css/layui.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/font-awesome.min.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/jquery-ui.css?v=202001010101">
    <link rel="stylesheet" type="text/css" href="/css/jquery-ui-1.9.2.custom.css?v=201810182111"/>
    <link rel="stylesheet" type="text/css" href="/css/style.css?v=202001010101">
</head>
<body class="tsf-content">
<div class="tsf-list-top">
    <div class="tsf-query">
        <form class="layui-form query-form no-title" method="post">
            <div class="layui-row">
                <div class="layui-col-md4">
                    <div class="layui-col-md6 spacing">
                        <input type="text" name="customerName" id="customerName" class="layui-input auto-customer" placeholder="客户名称" clear-val/>
                    </div>
                    <div class="layui-col-md6 spacing">
                        <input type="text" name="transactionNo" id="transactionNo" class="layui-input" placeholder="交易单号" clear-val/>
                    </div>
                </div>
                <div class="layui-col-md4">
                    <div class="layui-col-md6 spacing">
                        <select id="transactionType" name="transactionType" class="sel-load" sel-url="scm/common/bizSelect?type=TransactionType" sel-data-name="TransactionType" sel-key="value" sel-val="label" sel-first="交易类型"></select>
                    </div>
                    <div class="layui-col-md6 spacing">
                        <select id="transactionCategory" name="transactionCategory" class="sel-load" sel-url="scm/common/bizSelect?type=TransactionCategory" sel-data-name="TransactionCategory" sel-key="value" sel-val="label" sel-first="交易类别"></select>
                    </div>
                </div>
                <div class="layui-col-md4">
                    <button type="button" class="layui-btn search-btn"><i class="fa fa-search"></i>查询</button>
                    <button type="button" class="layui-btn layui-btn-primary refresh-btn"><i class="fa fa-refresh"></i>刷新</button>
                    <button type="button" class="layui-btn layui-btn-primary more-qty-btn">展开<i class="fa fa-chevron-down"></i></button>
                </div>
            </div>

            <div class="more-qty">
                <div class="layui-row">
                    <div class="layui-col-md4">
                        <div class="layui-col-md6">
                            <input type="text" name="dateCreatedStart" id="dateCreatedStart" class="layui-input picker-date start-input" placeholder="交易开始日期" clear-val/>
                        </div>
                        <div class="layui-col-md6">
                            <input type="text" name="dateCreatedEnd" id="dateCreatedEnd" class="layui-input picker-date end-input" placeholder="交易结束日期" clear-val/>
                        </div>
                    </div>
                    <div class="layui-col-md4">
                        <div class="layui-col-md6 spacing">
                            <select id="amountCondition" name="amountCondition" class="sel-load" sel-url="scm/common/bizSelect?type=NumberCondition" sel-data-name="NumberCondition" sel-key="value" sel-val="label" sel-first="交易金额"></select>
                        </div>
                        <div class="layui-col-md6">
                            <input type="text" name="amount" id="amount" class="layui-input" NUMBER placeholder="交易金额" clear-val/>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <div class="tsf-operation">
        <div class="layui-btn-group operation-btn"></div>
    </div>
</div>
<div class="tsf-list">
    <table class="layui-hide" id="table-list" lay-filter="table-list"></table>
</div>
<script type="text/html" id="docNoTemp">
    <span class="copy">{{d.transactionNo}}</span>
</script>
<script type="text/html" id="customerNameTemp">
    <span class="copy">{{d.customerName}}</span>
</script>
<script type="text/html" id="amountTemp">
    {{#if(d.transactionCategory=='income'){}}
    <span class="color-red">+￥{{formatCurrency(d.amount)}}</span>
    {{#}else{}}
    <span class="success-color">-￥{{formatCurrency(Math.abs(d.amount))}}</span>
    {{#}}}
</script>
<script type="text/html" id="balanceTemp">
    {{#if(d.balance > 0.00){}}
    <span class="color-red">￥{{formatCurrency(d.balance)}}</span>
    {{#}else{}}
    <span class="success-color">￥{{formatCurrency(d.balance)}}</span>
    {{#}}}
</script>
<script type="text/javascript" src="/js/jquery.min.js?v=202001010101"></script>
<script type="text/javascript" src="/layui/layui.js?v=202001010101"></script>
<script type="text/javascript" src="/js/jquery-ui-1.9.2.custom.min.js?v=201810182111"></script>
<script type="text/javascript" src="/My97DatePicker/WdatePicker.js?v=202001010101"></script>
<script type="text/javascript" src="/js/app.js?v=202006010928"></script>
<script type="text/javascript" src="/js/sel-load.js?v=202001010101"></script>
<script type="text/javascript" src="/js/autocomplete.js?v=202001010101"></script>
<script type="text/javascript" src="/finance/transactionFlow/list.js?v=202001010101"></script>
</body>
</html>
